package com.zhouz.admin.app.db.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * ams_request_context
 * </p>
 *
 * @author 张鹏
 * @since 2018-11-20
 */
@Data
@ApiModel
@TableName("sys_request_context")
public class OptRequestContext {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	@TableId(value="id", type= IdType.AUTO)
	@ApiModelProperty(required= true,value = "id")
	private Long id;
    /**
     * 请求号
     */
	@TableField("request_no")
	@ApiModelProperty(required= true,value = "请求号")
	private String requestNo;
    /**
     * 请求参数
     */
	@TableField("in_paramter")
	@ApiModelProperty(required= true,value = "请求参数")
	private String inParamter;
    /**
     * 请求返回参数
     */
	@TableField("out_paramter")
	@ApiModelProperty(required= true,value = "请求返回参数")
	private String outParamter;
    /**
     * 请求异常信息
     */
	@ApiModelProperty(required= true,value = "请求异常信息")
	private String exception;


	public static final String ID = "id";

	public static final String REQUEST_NO = "request_no";

	public static final String IN_PARAMTER = "in_paramter";

	public static final String OUT_PARAMTER = "out_paramter";

	public static final String EXCEPTION = "exception";
}
